package com.seckill.entity;

/**
 * 
 * <p>Title: SuccessKilled</p>
 * <p>Description: 交易明细</p>
 * <p>Company: CSS </p> 
 * @author zhuky
 * @date 2017年10月23日 上午11:36:57
 */
public class SuccessKilled {

	private long id;

	private long seckillId;
	
	private long phone;
	
	private Short state;

	/* 变通 ：多对一*/
	private Seckill seckill;
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	public long getSeckillId() {
		return seckillId;
	}

	public void setSeckillId(long seckillId) {
		this.seckillId = seckillId;
	}



	public Short getState() {
		return state;
	}

	public void setState(Short state) {
		this.state = state;
	}

	public Seckill getSeckill() {
		return seckill;
	}

	public void setSeckill(Seckill seckill) {
		this.seckill = seckill;
	}
	public long getPhone() {
		return phone;
	}

	public void setPhone(long phone) {
		this.phone = phone;
	}
	@Override
	public String toString() {
		return "SuccessKilled [id=" + id + ", seckillId=" + seckillId + ", phone=" + phone + ", state=" + state
				+ ", seckill=" + seckill + "]";
	} 
	
	
}
